package com.vt.admin.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 组织属性
 */
@Data
@Accessors(chain = true)
public class SysOrganizationType extends Model<SysOrganizationType> {

	@TableId(value = "id", type = IdType.ID_WORKER_STR)
	private String id;

	@ApiModelProperty("组织名称")
	private String name;

	@ApiModelProperty("上级组织属性id")
	private String parentId;

	@ApiModelProperty("是否可编辑(0-否，1-是)")
	private Integer editable;

	@ApiModelProperty("排序号")
	private Integer sortNum;

	private String creater;

	private String updater;

	private Date createTime;

	private Date updateTime;

	private Integer status;

}
